package com.jeremyfeinstein.gson.bean;

/**
 * @author : lishan
 * @e-mail : cnlishan@163.com
 * @date : 2021/2/23 9:10 AM
 * @desc :
 */
public class AuthorizeDeviceBean {


    /**
     * opContext : 成功授权编码为：11111111111112的互动设备
     * resultCode : 200
     * resultHint : 授权成功
     * successful : true
     * vspUserDataPo : {"id":"0914a7add15611e688cc54ee7536cc52","name":"piadmin"}
     */

    private String opContext;
    private String resultCode;
    private String resultHint;
    private boolean successful;
    private VspUserDataPoBean vspUserDataPo;

    public String getOpContext() {
        return opContext;
    }

    public void setOpContext(String opContext) {
        this.opContext = opContext;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultHint() {
        return resultHint;
    }

    public void setResultHint(String resultHint) {
        this.resultHint = resultHint;
    }

    public boolean isSuccessful() {
        return successful;
    }

    public void setSuccessful(boolean successful) {
        this.successful = successful;
    }

    public VspUserDataPoBean getVspUserDataPo() {
        return vspUserDataPo;
    }

    public void setVspUserDataPo(VspUserDataPoBean vspUserDataPo) {
        this.vspUserDataPo = vspUserDataPo;
    }

    public static class VspUserDataPoBean {
        /**
         * id : 0914a7add15611e688cc54ee7536cc52
         * name : piadmin
         */

        private String id;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "VspUserDataPoBean{" +
                    "id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "AuthorizeDeviceBean{" +
                "opContext='" + opContext + '\'' +
                ", resultCode='" + resultCode + '\'' +
                ", resultHint='" + resultHint + '\'' +
                ", successful=" + successful +
                ", vspUserDataPo=" + vspUserDataPo +
                '}';
    }
}
